#pragma once

#include"IMaterial.h"
#include"pgFile.h"

class pgMaterial : public IMaterial
{
public:

	pgMaterial();
	~pgMaterial();

	
	XMFLOAT3 GetDiffuse() {return m_vDiffuse;}
	void SetDiffuse(XMFLOAT3 vDiffuse) {m_vDiffuse = vDiffuse;}

	unsigned int GetPixelShaderIndex() {return m_nPixelShaderIndex;}
	unsigned int GetVertexShaderIndex() {return m_nVertexShaderIndex;}

	void SetPixelShaderIndex(unsigned int idx) {m_nPixelShaderIndex = idx >= 0 ? idx : 0;}
	 void SetVertexShaderIndex(unsigned int idx) {m_nVertexShaderIndex = idx >= 0 ? idx : 0;}

private:

	unsigned int m_nVertexShaderIndex;
	unsigned int m_nPixelShaderIndex;
	XMFLOAT3 m_vDiffuse;
};